package com.qifan.energy.mvp.presenter;

import java.util.Map;

/**
 * @author : FangShiKang
 * @date : 2020/04/11.
 * email : fangshikang@outlook.com
 * desc :    presenter层 , 接口回调
 */
public interface IPresenter {


    /**
     *  Get请求方法
     * @param url
     * @param clazz
     */
    void onPresenterGetData(String url, Class clazz);

    /**
     * post
     * @param url
     * @param map
     * @param clazz
     */
    void onPresenterPost(String url, Map<String, String> map, Class clazz);
}
